import { useParams } from 'react-router-dom'
const LubeDetail = (props) => {
    const params = useParams();
    console.log(params.id);
    return <div>
        <p>卧室lube的详细页面</p>
        <p>我接收到的props.id为: { params?.id}</p>
    </div>
}
export default LubeDetail;